package inabit.inabitcompiler.productions.rule.expressions;

import inabit.compiler.parser.grammar.NonTerminal;
import inabit.compiler.parser.grammar.Production;
import inabit.compiler.parser.grammar.Symbol;
import inabit.inabitcompiler.parser.InabitSemanticAction;

/** M' -> & */
/**@author Rafael Rocha*/
public class M1_Rule2 extends Production {
	public M1_Rule2() {
		super("M'");
	}

	public Symbol[] production(final NonTerminal nonTerminal) {
		Symbol[] symbols = {
			new InabitSemanticAction(nonTerminal) {
				public void execute() {
					nonTerminal.code = "";
				}
			}
		};
		return symbols;
	}
}
